package com.kymatrix.kycarbon.xsmd.system.server.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.kymatrix.kycarbon.xsmd.common.business.common.BaseTenantEntity;
import com.kymatrix.kycarbon.xsmd.common.enums.ModuleTypeEnum;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * @author jiechen
 * @since 2023/8/13 20:46
 */
@TableName(value = "t_sys_module")
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
public class ModuleEntity extends BaseTenantEntity {

    @TableField("parent_id")
    private String parentId;
    
    /**
     * 类型 
     * {@link ModuleTypeEnum}
     */
    @TableField("type")
    private String type;
    
    @TableField("name")
    private String name;
    
    @TableField("path")
    private String path;
    
    @TableField("icon")
    private String icon;
    
    @TableField("sort_no")
    private Integer sortNo;
    
    
}
